package com.wanlong.sys.dao;

import com.wanlong.sys.model.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.util.List;

public interface SysUserMapper  {
    public int insert(SysUser sysUser);

    public int insertSelective(SysUser sysUser);

    public int update(SysUser sysUser);

    public int delete(SysUser sysUser);

    public SysUser getById(@Param("id")Long id);

    public SysUser getSysUserByLoginName(@Param("loginName")String loginName);

    public List<SysUser> getSysUserList(@Param("loginName")String loginName);


}